package com.xh.cdp.sys.dao;

import java.util.List;
import java.util.Set;

import com.xh.cdp.sys.entity.SysMenuEntity;
import com.xh.cdp.sys.entity.temp.ComboTreeModel;

public interface SysMenuDao {

	List<SysMenuEntity> showLeftMenuTree(String menuPid, String roleId);

	List<SysMenuEntity> listMenus(String id);

	List<SysMenuEntity> listParentMenus();

	String addMenu(SysMenuEntity sysMenuEntity);

	List<Object> listMenuById(String id);

	Integer deleteMenuById(String id);

	void updateMenuById(SysMenuEntity sysMenuEntity, String id);

	List<ComboTreeModel> getPowerCombotree();

	List<ComboTreeModel> getPowerCombotree(List<String> ownMenuIds);

	Set<String> getFatherMenuIds(String rolePower);

}
